package com.honey.generator.java;

import com.honey.compilation.java.AbstractJavaCompilation;
import com.honey.core.compiler.CompilationException;

/**
 * 编译java类
 * @author Administrator
 *
 */
class CompilationEnum extends AbstractCompilation {
	
	public CompilationEnum(com.honey.compilation.java.Enum em) {
		super(em);
	}

	
	@Override
	AbstractJavaCompilation cloneAbstractJavaCompilation( AbstractJavaCompilation abstractJavaCompilation) throws CompilationException{
		com.honey.compilation.java.Enum answer = new com.honey.compilation.java.Enum(abstractJavaCompilation.getType(),abstractJavaCompilation.getClassDecoration());
		super.cloneFiled(abstractJavaCompilation, answer);
		return  answer;
	}
}
